#include <vector>
#include <string>
#include <iostream>

using namespace std;

class A
{
	public:
	string a;
	int b;		
};

void initialize(vector<A> & A_1)
{
	A a;

	a.a = "hi";
	a.b = 1;

	A_1.push_back(a);


	a.a = "its";
	a.b = 2;

	A_1.push_back(a);
}

int main(void)
{
	vector<A> A_1;
	vector<A> A_2;

	initialize(A_1);
	A_2 = A_1;

	cout << A_1[0].a << " " << A_1[1].a << endl;
	cout << A_2[0].a << " " << A_2[1].a << endl;

	A_1[0].a.clear();
	A_1[1].a = "uh la la";

	cout << A_1[0].a << " " << A_1[1].a << endl;
	cout << A_2[0].a << " " << A_2[1].a << endl;

	return 0;
}


